package com.ruoyi.project.zerocarbon.mapper;

import com.ruoyi.project.zerocarbon.domain.DeclareJudge;

import java.util.List;

/**
 * 项目评审Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-31
 */
public interface DeclareJudgeMapper 
{
    /**
     * 查询项目评审
     * 
     * @param id 项目评审ID
     * @return 项目评审
     */
    public DeclareJudge selectDeclareJudgeById(Long id);

    /**
     * 查询项目评审列表
     * 
     * @param declareJudge 项目评审
     * @return 项目评审集合
     */
    public List<DeclareJudge> selectDeclareJudgeList(DeclareJudge declareJudge);

    /**
     * 新增项目评审
     * 
     * @param declareJudge 项目评审
     * @return 结果
     */
    public int insertDeclareJudge(DeclareJudge declareJudge);

    /**
     * 修改项目评审
     * 
     * @param declareJudge 项目评审
     * @return 结果
     */
    public int updateDeclareJudge(DeclareJudge declareJudge);

    /**
     * 删除项目评审
     * 
     * @param id 项目评审ID
     * @return 结果
     */
    public int deleteDeclareJudgeById(Long id);

    /**
     * 批量删除项目评审
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteDeclareJudgeByIds(Long[] ids);

    public int updateByDeclarationId(DeclareJudge declareJudge);

    public List<DeclareJudge> selectDeclareJudgeByDecorationId(Long decorationId);
}
